package com.ruoyi.system.service;

import com.ruoyi.system.domain.Dto.JiajiaMallOrderDto;
import com.ruoyi.system.domain.JiajiaMallOrder;
import com.ruoyi.system.domain.vo.JiajiaMallOrderVo;

import java.util.List;
import java.util.Map;

/**
 * 商城订单Service接口
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public interface IJiajiaMallOrderService 
{
    /**
     * 查询商城订单
     * 
     * @param id 商城订单主键
     * @return 商城订单
     */
    public JiajiaMallOrderVo selectJiajiaMallOrderById(Long id);

    /**
     * 查询商城订单列表
     * 
     * @param jiajiaMallOrder 商城订单
     * @return 商城订单集合
     */
    public List<JiajiaMallOrderVo> selectJiajiaMallOrderList(JiajiaMallOrderDto jiajiaMallOrder);

    /**
     * 新增商城订单
     * 
     * @param  jiajiaMallOrderDto
     * @return 结果
     */
    public Map<String ,Object> insertJiajiaMallOrder(JiajiaMallOrderDto jiajiaMallOrderDto);

    /**
     * 修改商城订单
     * 
     * @param jiajiaMallOrder 商城订单
     * @return 结果
     */
    public int updateJiajiaMallOrder(JiajiaMallOrder jiajiaMallOrder);


    public int updateJiajiaMallOrderStatus(JiajiaMallOrderDto jiajiaMallOrderDto);

    /**
     * 批量删除商城订单
     * 
     * @param ids 需要删除的商城订单主键集合
     * @return 结果
     */
    public int deleteJiajiaMallOrderByIds(String ids);

    /**
     * 删除商城订单信息
     * 
     * @param id 商城订单主键
     * @return 结果
     */
    public int deleteJiajiaMallOrderById(Long id);

    public void review(JiajiaMallOrderDto jiajiaMallOrderDto);
}
